﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace SurfaceCardsBoardLibrary
{
    public static class CollectionHelper
    {
        public static IEnumerable<T> Substract<T>(this IEnumerable<T> source, IEnumerable<T> list)
        {
            return source.Where(it => list.Contains(it) == false);
        }
    }
}
